package com.whcoding.base.project.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-06-01 18:18
 **/
@Data
@ToString
public class PageParamVO {
	private Integer curPage;
	private Integer pageSize;
	private String sortIndx;
	private String sortDir;
	private Long totalRecords;
	private List<?> data;

	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date version;

}
